/**
 * lilang
 * Mail.java
 * 2013-9-14下午3:24:48
 */
package com.cq.oa.domain.pof;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import oa.base.hibernate.BaseClass;

/**
 * @author lilang
 *
 */
@Entity
@Table(name = "pof_mail_record")
public class MailRecord extends BaseClass implements Serializable{

	/**
	 * lilang
	 * 2013-9-14下午3:25:17
	 */
	private static final long serialVersionUID = 2889799134471619165L;
	
	
	/**
     * This field was generated by Apache iBATIS ibator.
     * This field corresponds to the database column POF_MAIL_RECORD.POF_MAIL_SID
     *
     * @ibatorgenerated Thu Mar 31 13:37:20 CST 2011
     */
	@Column(name = "POF_MAIL_SID")
    private Long pofMailSid;

    /**
     * This field was generated by Apache iBATIS ibator.
     * This field corresponds to the database column POF_MAIL_RECORD.SEND_TIME
     *
     * @ibatorgenerated Thu Mar 31 13:37:20 CST 2011
     */
	@Column(name = "SEND_TIME")
    private Date sendTime;

    /**
     * This field was generated by Apache iBATIS ibator.
     * This field corresponds to the database column POF_MAIL_RECORD.OPERATION_TYPE
     *
     * @ibatorgenerated Thu Mar 31 13:37:20 CST 2011
     */
	@Column(name = "OPERATION_TYPE")
    private Integer operationType;

    /**
     * This field was generated by Apache iBATIS ibator.
     * This field corresponds to the database column POF_MAIL_RECORD.TO_TYPE
     *
     * @ibatorgenerated Thu Mar 31 13:37:20 CST 2011
     */
	@Column(name = "TO_TYPE")
    private Integer toType;

  

    /**
     * This field was generated by Apache iBATIS ibator.
     * This field corresponds to the database column POF_MAIL_RECORD.SENDER_SID
     *
     * @ibatorgenerated Thu Mar 31 13:37:20 CST 2011
     */
	@Column(name = "SENDER_SID")
    private Long senderSid;

    /**
     * This field was generated by Apache iBATIS ibator.
     * This field corresponds to the database column POF_MAIL_RECORD.SENDER_CNAME
     *
     * @ibatorgenerated Thu Mar 31 13:37:20 CST 2011
     */
	@Column(name = "SENDER_CNAME")
    private String senderCname;

	
	@Column(name = "TITLE")
    private String title;
    /**
     * This field was generated by Apache iBATIS ibator.
     * This field corresponds to the database column POF_MAIL_RECORD.SENDER_EMAIL
     *
     * @ibatorgenerated Thu Mar 31 13:37:20 CST 2011
     */
	@Column(name = "SENDER_EMAIL")
    private String senderEmail;

    /**
     * This field was generated by Apache iBATIS ibator.
     * This field corresponds to the database column POF_MAIL_RECORD.RECEIVER_SID
     *
     * @ibatorgenerated Thu Mar 31 13:37:20 CST 2011
     */
	@Column(name = "RECEIVER_SID")
    private Long receiverSid;

    /**
     * This field was generated by Apache iBATIS ibator.
     * This field corresponds to the database column POF_MAIL_RECORD.RECEIVER_CNAME
     *
     * @ibatorgenerated Thu Mar 31 13:37:20 CST 2011
     */
	@Column(name = "RECEIVER_CNAME")
    private String receiverCname;

    /**
     * This field was generated by Apache iBATIS ibator.
     * This field corresponds to the database column POF_MAIL_RECORD.RECEIVER_EMAIL
     *
     * @ibatorgenerated Thu Mar 31 13:37:20 CST 2011
     */
	@Column(name = "RECEIVER_EMAIL")
    private String receiverEmail;

    /**
     * This field was generated by Apache iBATIS ibator.
     * This field corresponds to the database column POF_MAIL_RECORD.READ_FLAG
     *
     * @ibatorgenerated Thu Mar 31 13:37:20 CST 2011
     */
	@Column(name = "READ_FLAG")
    private Integer readFlag;

    /**
     * This field was generated by Apache iBATIS ibator.
     * This field corresponds to the database column POF_MAIL_RECORD.LATES_READ_TIME
     *
     * @ibatorgenerated Thu Mar 31 13:37:20 CST 2011
     */
	@Column(name = "LATES_READ_TIME")
    private Date latesReadTime;

    /**
     * This field was generated by Apache iBATIS ibator.
     * This field corresponds to the database column POF_MAIL_RECORD.POF_MAIL_FOLDER_SID
     *
     * @ibatorgenerated Thu Mar 31 13:37:20 CST 2011
     */
	@Column(name = "POF_MAIL_FOLDER_SID")
    private Long pofMailFolderSid;

    /**
     * This field was generated by Apache iBATIS ibator.
     * This field corresponds to the database column POF_MAIL_RECORD.SEND_BACK_STATUS
     *
     * @ibatorgenerated Thu Mar 31 13:37:20 CST 2011
     */
	@Column(name = "SEND_BACK_STATUS")
    private Integer sendBackStatus;

    /**
     * This field was generated by Apache iBATIS ibator.
     * This field corresponds to the database column POF_MAIL_RECORD.SEND_BACK_TIME
     *
     * @ibatorgenerated Thu Mar 31 13:37:20 CST 2011
     */
	@Column(name = "SEND_BACK_TIME")
    private Date sendBackTime;
    
	@Column(name = "OWNER_SID")
    private Long ownerSid;

	
	

	public String getTitle() {
		return title;
	}


	public void setTitle(String title) {
		this.title = title;
	}


	public Long getPofMailSid() {
		return pofMailSid;
	}


	public void setPofMailSid(Long pofMailSid) {
		this.pofMailSid = pofMailSid;
	}


	public Date getSendTime() {
		return sendTime;
	}


	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}


	public Integer getOperationType() {
		return operationType;
	}


	public void setOperationType(Integer operationType) {
		this.operationType = operationType;
	}


	public Integer getToType() {
		return toType;
	}


	public void setToType(Integer toType) {
		this.toType = toType;
	}



	public Long getSenderSid() {
		return senderSid;
	}


	public void setSenderSid(Long senderSid) {
		this.senderSid = senderSid;
	}


	public String getSenderCname() {
		return senderCname;
	}


	public void setSenderCname(String senderCname) {
		this.senderCname = senderCname;
	}


	public String getSenderEmail() {
		return senderEmail;
	}


	public void setSenderEmail(String senderEmail) {
		this.senderEmail = senderEmail;
	}


	public Long getReceiverSid() {
		return receiverSid;
	}


	public void setReceiverSid(Long receiverSid) {
		this.receiverSid = receiverSid;
	}


	public String getReceiverCname() {
		return receiverCname;
	}


	public void setReceiverCname(String receiverCname) {
		this.receiverCname = receiverCname;
	}


	public String getReceiverEmail() {
		return receiverEmail;
	}


	public void setReceiverEmail(String receiverEmail) {
		this.receiverEmail = receiverEmail;
	}


	public Integer getReadFlag() {
		return readFlag;
	}


	public void setReadFlag(Integer readFlag) {
		this.readFlag = readFlag;
	}


	public Date getLatesReadTime() {
		return latesReadTime;
	}


	public void setLatesReadTime(Date latesReadTime) {
		this.latesReadTime = latesReadTime;
	}


	public Long getPofMailFolderSid() {
		return pofMailFolderSid;
	}


	public void setPofMailFolderSid(Long pofMailFolderSid) {
		this.pofMailFolderSid = pofMailFolderSid;
	}


	public Integer getSendBackStatus() {
		return sendBackStatus;
	}


	public void setSendBackStatus(Integer sendBackStatus) {
		this.sendBackStatus = sendBackStatus;
	}


	public Date getSendBackTime() {
		return sendBackTime;
	}


	public void setSendBackTime(Date sendBackTime) {
		this.sendBackTime = sendBackTime;
	}


	public Long getOwnerSid() {
		return ownerSid;
	}


	public void setOwnerSid(Long ownerSid) {
		this.ownerSid = ownerSid;
	}
    
    
    
    
    
	
}
